package com.example.gybicycle.entity.wx;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(name = "登录信息")
public class WXLoginInfo {
    @Schema(description ="token")
    private  String  Authorization;
    @Schema(description = "账号类型 0 骑行人 1 管理员")
    private Integer type;
    @Schema(description = "会员id")
    private String id;
    @Schema(description = "会员名")
    private String name;
    @Schema(description = "微信号")
    private String wxNo;
    @Schema(description = "电话号码")
    private String telphone;
    @Schema(description = "openid")
    private String wxOpenid;
    @Schema(description = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birthday;
    @Schema(description = "性别")
    private String sex;
    private String  age;
    @Schema(description = "密碼")
    private String password;
    @Schema(description = "路由")
    private String path;
    @Schema(description = "code")
    private String code;

}
